From 25fcb486bc5ae442ee85aa4729a8fb1f5a5a3e3b Mon Sep 17 00:00:00 2001 From: Vladimir Kochnev Date: Fri, 26 Sep 2025 13:59:11 +0300 Subject: [PATCH] acme-acmesh: support TLS-ALPN-01 challenge This change adds an ability to invoke acme.sh with --alpn option invoking a TLS-ALPN-01 challenge on the 443 port. Signed-off-by: Vladimir Kochnev --- net/acme-acmesh/Makefile | 2 +- net/acme-acmesh/files/hook.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/net/acme-acmesh/Makefile b/net/acme-acmesh/Makefile index 68288a5e1f..dbb174ce44 100644 --- a/net/acme-acmesh/Makefile +++ b/net/acme-acmesh/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=acme-acmesh PKG_VERSION:=3.1.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/acmesh-official/acme.sh/tar.gz/$(PKG_VERSION)? diff --git a/net/acme-acmesh/files/hook.sh b/net/acme-acmesh/files/hook.sh index a433776d72..f6591de718 100644 --- a/net/acme-acmesh/files/hook.sh +++ b/net/acme-acmesh/files/hook.sh @@ -125,6 +125,9 @@ get) "standalone") set -- "$@" --standalone --listen-v6 ;; + "alpn") + set -- "$@" --alpn --listen-v6 + ;; "webroot") mkdir -p "$CHALLENGE_DIR" set -- "$@" --webroot "$CHALLENGE_DIR" -- 2.30.2